using System;
using System.Collections.Generic;
using System.Text;

namespace AdvEvaluator
{
    /// <summary>
    /// SDLWindowに描画するオブジェクトが継承すべきクラス
    /// </summary>
    abstract class Drawable : IDisposable
    {
        /// <summary>
        /// x座標
        /// </summary>
        public int X { get; set; }
        /// <summary>
        /// y座標
        /// </summary>
        public int Y { get; set; }

        /// <summary>
        /// 描画処理
        /// </summary>
        /// <param name="system">GameSystem</param>
        abstract public void Draw(GameSystem system);

        /// <summary>
        /// リソースの解放
        /// </summary>
        abstract public void Dispose();
    }
}
